package de.farbstreich.tozen2.client;

public class ClientGUI {

	public GameData gameData;
	public static ClientGUIFrame2 frame;
	public static ClientGUIInput input = new ClientGUIInput();
	
	/**
	 * 
	 * @param gameData
	 * @param socket
	 * initializes GUI
	 */
	public ClientGUI(GameData gameData, ClientSocket socket) {
		this.gameData = gameData;
		frame = new ClientGUIFrame2(input);
		input.setParameters(gameData, socket, frame);
		frame.setVisible(true);
	}

}
